/* Validation Status Styles */

.validation-status {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.status-item i {
    font-size: 1.2rem;
}

.status-item span {
    font-size: 0.9rem;
    color: rgba(248, 250, 252, 0.8);
}

.validation-messages {
    max-height: 300px;
    overflow-y: auto;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
}

.validation-message {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    border-radius: 4px;
    font-size: 0.875rem;
}

.validation-message:last-child {
    margin-bottom: 0;
}

.validation-message.error {
    background: rgba(239, 68, 68, 0.1);
    border-left: 3px solid #ef4444;
    color: #f87171;
}

.validation-message.warning {
    background: rgba(251, 191, 36, 0.1);
    border-left: 3px solid #fbbf24;
    color: #fde047;
}

.validation-message.success {
    background: rgba(34, 197, 94, 0.1);
    border-left: 3px solid #22c55e;
    color: #86efac;
}

.validation-message.info {
    background: rgba(59, 130, 246, 0.1);
    border-left: 3px solid #3b82f6;
    color: #93bbfc;
}

.validation-message i {
    flex-shrink: 0;
    margin-top: 2px;
}

.validation-message-content {
    flex: 1;
}

.validation-message-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.validation-message-text {
    opacity: 0.9;
}

.validation-message-suggestion {
    margin-top: 0.25rem;
    font-size: 0.8125rem;
    opacity: 0.8;
    font-style: italic;
}

/* Scrollbar styling for validation messages */
.validation-messages::-webkit-scrollbar {
    width: 6px;
}

.validation-messages::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.validation-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.validation-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Animation for status updates */
@keyframes statusPulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.status-item.updating {
    animation: statusPulse 1.5s ease-in-out infinite;
}
